package zb.WX.service.menu;

import org.junit.jupiter.api.Test;
import zb.WX.util.AccessTokenSaveUtil;
import zb.WX.util.GlobalVar;
import zb.WX.util.HttpsUtil;

/**
 * 删除所有菜单，如果有个性化菜单也一并删除
 *
 * @author Administrator
 */
public class DeleteMenu {
    @Test
    public void deleteMenu() {
        String access_token = AccessTokenSaveUtil.getLocationAccesstonken();
        String url = GlobalVar.DELETEMENU.replace("ACCESS_TOKEN", access_token);
        HttpsUtil.getHttpsToJson(url, null);
    }

}
